package com.xli.metadata.frameconfig.entity.dto;

import com.xli.dto.validation.group.IGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


@Data
public class ConfigDTO {

    @Schema(description = "参数值")
    @NotBlank(message = "configValue必填", groups = {IGroup.add.class, IGroup.update.class})
    private String configValue;

    @Schema(description = "参数描述")
    private String description;

    @Schema(description = "参数分类")
    private String categoryId;

    @Schema(description = "是否开启JS")
    private String jsBoot;

    @Schema(description = "排序")
    private Integer orderNum;
}
